Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-58465 | AOSX-09-001275 | SV-72895r1_rule | Medium |
Description |
---|
Web Sharing is non-essential and must be disabled. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized. |
STIG | Date |
---|---|
Apple OS X 10.9 (Mavericks) Workstation Security Technical Implementation Guide | 2017-01-05 |
Check Text ( C-59309r1_chk ) |
---|
Web Sharing must be disabled. To check if Web Sharing is enabled, run the following command: sudo /usr/libexec/PlistBuddy -c 'print org.apache.httpd:Disabled' /var/db/launchd.db/com.apple.launchd/overrides.plist If the returned value isn't 'true', this is a finding. |
Fix Text (F-63797r1_fix) |
---|
To disable Web Sharing, run the following command: sudo defaults write /private/var/db/launchd.db/com.apple.launchd/overrides.plist 'org.apache.httpd' -dict Disabled -bool true |